message(STATUS "stack1 - ${CMAKE_CURRENT_SOURCE_DIR}")

aux_source_directory(. SRC)

add_executable(stack1 ${SRC})

# 开启编译器更多检测
if(COMPILEOPTIONS)
	include(ExtraWarnings)
	apply_extra_warnings_to_target(stack1)
endif()

target_include_directories(
    stack1
    PRIVATE 
    ${ROOT_DIR}
    ${3RD_DIR}/googletest/googlemock/include
    ${3RD_DIR}/googletest/googletest/include
    .
)

target_link_libraries(
    stack1
    PRIVATE
    gmock
    gtest
)